Properly peform deletion updates when moving over a redirect
authorBrad Jorsch <bjorsch@wikimedia.org>
Sat, 4 Jan 2014 23:41:10 +0000 (18:41 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Sat, 4 Jan 2014 23:46:00 +0000 (18:46 -0500)
commit10f8f3c6122815a11a993b10d2d8ee9c2a259424
treee01677af3e8c325994234b52e2969ce7bb211f31
parent2fb4181ad422ec117508e67c29fad7e6a7dbb570
Properly peform deletion updates when moving over a redirect

When moving over a redirect, WikiPage::doDeleteUpdates is called to do
things like clean up obsolete entries in `redirect` and other tables.
But it doesn't pass a Content object and the WikiPage doesn't have one
cached, so it winds up not actually doing these updates.

Change-Id: I54c90cebfd6bea07137a77bd70acec02cab51084
includes/Title.php